<!--
 * @Author Malred · Wang
 * @Date 2025-06-17 13:29:27
 * @Description 
 * @Path src/components/base/operation/item.vue
 -->
<!-- base-operation-item.vue -->
<template>
  <el-form-item :label="label">
    <el-input
        :modelValue="value"
        @update:modelValue="$emit('update:value', $event)"
    />
  </el-form-item>
</template>

<script setup>
import {defineProps, defineEmits} from 'vue';

defineProps({
  label: String,
  value: [String, Number]
});

const emit = defineEmits(['update:value']);
</script>